const mongoose = require('mongoose')
const Schema = mongoose.Schema
const tagSchema = new Schema({
  tagName: {type: String,require:'name is required'}, //分类创建者
  count:{type: Number, default:0},
  isNav:{type:Boolean,default:false}
    })  

module.exports = mongoose.model('Tags', tagSchema)